import type { PagingParams } from './type'
import { PAGING } from '@/constant'

export const defaultFormData: any = {
  name: '',
}

export const formRules = {
  name: [
    {
      required: true,
      message: '名称不能为空！',
      trigger: 'change',
    },
  ],
}

export const defaultPagingParams: PagingParams = {
  ...PAGING.PARAMS,
  name: '',
}
